package com.suning.sawp.member.vo;

/**
 * 外拓活动实时数据查询参数
 *
 * @author 15060460
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class QuerySaleDataVo {

    private Long pageNo;

    private Long pageSize;

    private String activityId;// 活动编码

    private String areaCode;// 大区编码

    private String companyCode;// 分公司编码

    private String storeCode;// 门店编码

    private String memSource;// 客户来源：0:门店外拓,1:询价未购

    private String memMode;// 拓展方式：0:预充值,1:意向

    private String employeeId;// 督导工号(查看自己创建的外拓任务)

    public Long getStart() {
        return pageNo != null && pageSize != null ? pageSize * (pageNo - 1) : null;
    }

    public Long getLimit() {
        return pageNo != null && pageSize != null ? pageSize * pageNo : null;
    }

    public Long getPageNo() {
        return pageNo;
    }

    public void setPageNo(Long pageNo) {
        this.pageNo = pageNo;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getMemSource() {
        return memSource;
    }

    public void setMemSource(String memSource) {
        this.memSource = memSource;
    }

    public String getMemMode() {
        return memMode;
    }

    public void setMemMode(String memMode) {
        this.memMode = memMode;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("QueryRealTimeDataVo [pageNo=");
        builder.append(pageNo);
        builder.append(", pageSize=");
        builder.append(pageSize);
        builder.append(", activityId=");
        builder.append(activityId);
        builder.append(", areaCode=");
        builder.append(areaCode);
        builder.append(", companyCode=");
        builder.append(companyCode);
        builder.append(", storeCode=");
        builder.append(storeCode);
        builder.append(", memSource=");
        builder.append(memSource);
        builder.append(", memMode=");
        builder.append(memMode);
        builder.append(", employeeId=");
        builder.append(employeeId);
        builder.append("]");
        return builder.toString();
    }

}
